crypto/tls.Conn.peerCertificates (field)
17 uses
crypto/tls (current package)
conn.go#L56: peerCertificates []*x509.Certificate
conn.go#L1632: state.PeerCertificates = c.peerCertificates
conn.go#L1684: return c.peerCertificates[0].VerifyHostname(host)
handshake_client.go#L708: if !bytes.Equal(c.peerCertificates[0].Raw, certMsg.certificates[0]) {
handshake_client.go#L718: err = keyAgreement.processServerKeyExchange(c.config, hs.hello, hs.serverHello, c.peerCertificates[0], skx)
handshake_client.go#L768: preMasterSecret, ckx, err := keyAgreement.generateClientKeyExchange(c.config, hs.hello, c.peerCertificates[0])
handshake_client.go#L934: c.peerCertificates = hs.session.peerCertificates
handshake_client.go#L1167: c.peerCertificates = certs
handshake_client_tls13.go#L466: c.peerCertificates = hs.session.peerCertificates
handshake_client_tls13.go#L690: if err := verifyHandshakeSignature(sigType, c.peerCertificates[0].PublicKey,
handshake_server.go#L531: c.peerCertificates = sessionState.peerCertificates
handshake_server.go#L684: pub = c.peerCertificates[0].PublicKey
handshake_server.go#L730: if len(c.peerCertificates) > 0 {
handshake_server.go#L957: c.peerCertificates = certs
handshake_server_tls13.go#L455: c.peerCertificates = sessionState.peerCertificates
handshake_server_tls13.go#L1104: if err := verifyHandshakeSignature(sigType, c.peerCertificates[0].PublicKey,
ticket.go#L299: peerCertificates: c.peerCertificates,